<template>
  <div>
    <!--面包屑导航区-->
    <el-breadcrumb separator-class="el-icon-arrow-right">
      <el-breadcrumb-item :to="{ path: '/home' }">首页</el-breadcrumb-item>
      <el-breadcrumb-item>异常管理</el-breadcrumb-item>
      <el-breadcrumb-item>异常管理查询列表1</el-breadcrumb-item>
    </el-breadcrumb>

    <el-main class="maincard">
      <el-table :data="tableList" stripe style="width: 100%">
      <el-table-column prop="errtime" label="异常时间" width="120" > </el-table-column>
      <el-table-column prop="line" label="所属线体" width="120"> </el-table-column>
      <el-table-column prop="equipment" label="所属设备" width="120"> </el-table-column>
      <el-table-column prop="name" label="数据名称" width="120"> </el-table-column>
      <el-table-column prop="errvalue" label="异常值" width="120"> </el-table-column>
      <el-table-column prop="rightvalue" label="正常值" width="120"> </el-table-column>
      <el-table-column prop="reason" label="异常的原因" width="120"> </el-table-column>
      <el-table-column prop="brand" label="品牌" width="120"> </el-table-column>
      <el-table-column prop="model" label="型号" width="120"> </el-table-column>
      <el-table-column prop="parameter" label="设备的特征参数" width="120"> </el-table-column>

      </el-table>
    </el-main>

  </div>
</template>


<script>
    export default {
        name: "abnormaltable",
        mounted() {
            this.getabnormallist()
        },
        data() {
      return {
        tableList:[],
        tableData: [
        //     {
        //     errtime: '异常的时间点',
        //     line: '所属线体',
        //     equipment: '所属设备',
        //     name: '数据名字',
        //     errvalue: '异常值',
        //     rightvalue: '正常值',
        //     reason: '异常的原因',
        //     brand: '品牌',
        //     model: '型号',
        //     parameter: '设备的特征参数',
        // },
            {
                errtime: '2022-4-18',
                line: 'A15生产线',
                equipment: '机器人1',
                name: 'Axis01',
                errvalue: '180',
                rightvalue: '150',
                reason: 'XX原因',
                brand: '欧姆龙',
                model: 'xx型号',
                parameter: 'XX参数',
            },{
                errtime: '2022-4-18',
                line: 'A15生产线',
                equipment: '机器人1',
                name: 'Axis01',
                errvalue: '180',
                rightvalue: '150',
                reason: 'XX原因',
                brand: '欧姆龙',
                model: 'xx型号',
                parameter: 'XX参数',
            },{
                errtime: '2022-4-18',
                line: 'A15生产线',
                equipment: '机器人1',
                name: 'Axis01',
                errvalue: '180',
                rightvalue: '150',
                reason: 'XX原因',
                brand: '欧姆龙',
                model: 'xx型号',
                parameter: 'XX参数',
            },{
                errtime: '2022-4-18',
                line: 'A15生产线',
                equipment: '机器人1',
                name: 'Axis01',
                errvalue: '180',
                rightvalue: '150',
                reason: 'XX原因',
                brand: '欧姆龙',
                model: 'xx型号',
                parameter: 'XX参数',
            },{
                errtime: '2022-4-18',
                line: 'A15生产线',
                equipment: '机器人1',
                name: 'Axis01',
                errvalue: '180',
                rightvalue: '150',
                reason: 'XX原因',
                brand: '欧姆龙',
                model: 'xx型号',
                parameter: 'XX参数',
            },{
                errtime: '2022-4-18',
                line: 'A15生产线',
                equipment: '机器人1',
                name: 'Axis01',
                errvalue: '180',
                rightvalue: '150',
                reason: 'XX原因',
                brand: '欧姆龙',
                model: 'xx型号',
                parameter: 'XX参数',
            },{
                errtime: '2022-4-18',
                line: 'A15生产线',
                equipment: '机器人1',
                name: 'Axis01',
                errvalue: '180',
                rightvalue: '150',
                reason: 'XX原因',
                brand: '欧姆龙',
                model: 'xx型号',
                parameter: 'XX参数',
            },{
                errtime: '2022-4-18',
                line: 'A15生产线',
                equipment: '机器人1',
                name: 'Axis01',
                errvalue: '180',
                rightvalue: '150',
                reason: 'XX原因',
                brand: '欧姆龙',
                model: 'xx型号',
                parameter: 'XX参数',
            },{
                errtime: '2022-4-18',
                line: 'A15生产线',
                equipment: '机器人1',
                name: 'Axis01',
                errvalue: '180',
                rightvalue: '150',
                reason: 'XX原因',
                brand: '欧姆龙',
                model: 'xx型号',
                parameter: 'XX参数',
            },
        ]
      }
    },
        methods:{
            getabnormallist(){
                this.tableList = this.tableData;
            },
        }
    }
</script>

<style lang="less" scoped>

</style>
